type runtime._type
144 uses
runtime (current package)
alg.go#L201: func typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
alg.go#L259: func mapKeyError2(t *_type, p unsafe.Pointer) error {
alg.go#L268: var t *_type
alg.go#L321: func reflect_typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
alg.go#L368: func efaceeq(t *_type, x, y unsafe.Pointer) bool {
arena.go#L113: t := (*_type)(efaceOf(&typ).data)
arena.go#L231: return userArenaChunkBytes/goarch.PtrSize/8 + unsafe.Sizeof(_type{})
arena.go#L279: func (a *userArena) new(typ *_type) unsafe.Pointer {
arena.go#L367: func (a *userArena) alloc(typ *_type, cap int) unsafe.Pointer {
arena.go#L449: func (s *mspan) userArenaNextFree(typ *_type, cap int) unsafe.Pointer {
arena.go#L539: func userArenaHeapBitsSetSliceType(typ *_type, n int, ptr unsafe.Pointer, s *mspan) {
arena.go#L553: func userArenaHeapBitsSetType(typ *_type, ptr unsafe.Pointer, s *mspan) {
arena.go#L1116: *(*uintptr)(unsafe.Pointer(&s.largeType.GCData)) = s.limit + unsafe.Sizeof(_type{})
cgocall.go#L602: func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
cgocall.go#L638: it := *(**_type)(p)
cgocheck.go#L79: func cgoCheckMemmove(typ *_type, dst, src unsafe.Pointer) {
cgocheck.go#L91: func cgoCheckMemmove2(typ *_type, dst, src unsafe.Pointer, off, size uintptr) {
cgocheck.go#L112: func cgoCheckSliceCopy(typ *_type, dst, src unsafe.Pointer, n int) {
cgocheck.go#L135: func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) {
cgocheck.go#L189: func cgoCheckUsingType(typ *_type, src unsafe.Pointer, off, size uintptr) {
chan.go#L42: elemtype *_type // element type
chan.go#L392: func sendDirect(t *_type, sg *sudog, src unsafe.Pointer) {
chan.go#L405: func recvDirect(t *_type, sg *sudog, dst unsafe.Pointer) {
checkptr.go#L9: func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
error.go#L26: _interface *_type
error.go#L27: concrete *_type
error.go#L28: asserted *_type
heapdump.go#L119: t [typeCacheAssoc]*_type
heapdump.go#L164: func dumptype(t *_type) {
heapdump.go#L225: func dumpfinalizer(obj unsafe.Pointer, fn *funcval, fint *_type, ot *ptrtype) {
heapdump.go#L427: func finq_callback(fn *funcval, obj unsafe.Pointer, nret uintptr, fint *_type, ot *ptrtype) {
iface.go#L30: func itabHashFunc(inter *interfacetype, typ *_type) uintptr {
iface.go#L44: func getitab(inter *interfacetype, typ *_type, canfail bool) *itab {
iface.go#L107: func (t *itabTableType) find(inter *interfacetype, typ *_type) *itab {
iface.go#L274: func panicdottypeE(have, want, iface *_type) {
iface.go#L280: func panicdottypeI(have *itab, want, iface *_type) {
iface.go#L281: var t *_type
iface.go#L290: func panicnildottype(want *_type) {
iface.go#L318: uint16Type *_type = efaceOf(&uint16Eface)._type
iface.go#L319: uint32Type *_type = efaceOf(&uint32Eface)._type
iface.go#L320: uint64Type *_type = efaceOf(&uint64Eface)._type
iface.go#L321: stringType *_type = efaceOf(&stringEface)._type
iface.go#L322: sliceType *_type = efaceOf(&sliceEface)._type
iface.go#L334: func convT(t *_type, v unsafe.Pointer) unsafe.Pointer {
iface.go#L348: func convTnoptr(t *_type, v unsafe.Pointer) unsafe.Pointer {
iface.go#L449: func assertE2I(inter *interfacetype, t *_type) *itab {
iface.go#L457: func assertE2I2(inter *interfacetype, t *_type) *itab {
iface.go#L467: func typeAssert(s *abi.TypeAssert, t *_type) *itab {
iface.go#L507: func buildTypeAssertCache(oldC *abi.TypeAssertCache, typ *_type, tab *itab) *abi.TypeAssertCache {
iface.go#L531: addEntry := func(typ *_type, tab *itab) {
iface.go#L544: addEntry((*_type)(unsafe.Pointer(e.Typ)), (*itab)(unsafe.Pointer(e.Itab)))
iface.go#L561: func interfaceSwitch(s *abi.InterfaceSwitch, t *_type) (int, *itab) {
iface.go#L613: func buildInterfaceSwitchCache(oldC *abi.InterfaceSwitchCache, typ *_type, case_ int, tab *itab) *abi.InterfaceSwitchCache {
iface.go#L637: addEntry := func(typ *_type, case_ int, tab *itab) {
iface.go#L651: addEntry((*_type)(unsafe.Pointer(e.Typ)), e.Case, (*itab)(unsafe.Pointer(e.Itab)))
malloc.go#L1010: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1098: func mallocgcTiny(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uintptr) {
malloc.go#L1254: func mallocgcSmallNoscan(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uintptr) {
malloc.go#L1340: func mallocgcSmallScanNoHeader(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uintptr) {
malloc.go#L1431: func mallocgcSmallScanHeader(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uintptr) {
malloc.go#L1470: header := (**_type)(x)
malloc.go#L1524: func mallocgcLarge(size uintptr, typ *_type, needzero bool) (unsafe.Pointer, uintptr) {
malloc.go#L1614: func preMallocgcDebug(size uintptr, typ *_type) unsafe.Pointer {
malloc.go#L1644: func postMallocgcDebug(x unsafe.Pointer, elemsize uintptr, typ *_type) {
malloc.go#L1713: func newobject(typ *_type) unsafe.Pointer {
malloc.go#L1718: func maps_newobject(typ *_type) unsafe.Pointer {
malloc.go#L1734: func reflect_unsafe_New(typ *_type) unsafe.Pointer {
malloc.go#L1739: func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
malloc.go#L1756: func newarray(typ *_type, n int) unsafe.Pointer {
malloc.go#L1782: func reflect_unsafe_NewArray(typ *_type, n int) unsafe.Pointer {
malloc.go#L1787: func maps_newarray(typ *_type, n int) unsafe.Pointer {
mbarrier.go#L179: func wbZero(typ *_type, dst unsafe.Pointer) {
mbarrier.go#L192: func wbMove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L213: func reflect_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L230: func reflectlite_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L235: func maps_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L249: func reflectcallmove(typ *_type, dst, src unsafe.Pointer, size uintptr, regs *abi.RegArgs) {
mbarrier.go#L276: func typedslicecopy(typ *_type, dstPtr unsafe.Pointer, dstLen int, srcPtr unsafe.Pointer, srcLen int) int {
mbarrier.go#L343: func reflect_typedslicecopy(elemType *_type, dst, src slice) int {
mbarrier.go#L361: func typedmemclr(typ *_type, ptr unsafe.Pointer) {
mbarrier.go#L380: func reflect_typedmemclr(typ *_type, ptr unsafe.Pointer) {
mbarrier.go#L385: func maps_typedmemclr(typ *_type, ptr unsafe.Pointer) {
mbarrier.go#L390: func reflect_typedmemclrpartial(typ *_type, ptr unsafe.Pointer, off, size uintptr) {
mbarrier.go#L402: func reflect_typedarrayclear(typ *_type, ptr unsafe.Pointer, len int) {
mbitmap.go#L140: typ *_type
mbitmap.go#L188: var typ *_type
mbitmap.go#L191: typ = *(**_type)(unsafe.Pointer(addr))
mbitmap.go#L641: func (span *mspan) writeHeapBitsSmall(x, dataSize uintptr, typ *_type) (scanSize uintptr) {
mbitmap.go#L721: func heapSetTypeNoHeader(x, dataSize uintptr, typ *_type, span *mspan) uintptr {
mbitmap.go#L732: func heapSetTypeSmallHeader(x, dataSize uintptr, typ *_type, header **_type, span *mspan) uintptr {
mbitmap.go#L740: func heapSetTypeLarge(x, dataSize uintptr, typ *_type, span *mspan) uintptr {
mbitmap.go#L750: func doubleCheckHeapType(x, dataSize uintptr, gctyp *_type, header **_type, span *mspan) {
mbitmap.go#L779: func doubleCheckHeapPointers(x, dataSize uintptr, typ *_type, header **_type, span *mspan) {
mbitmap.go#L836: func doubleCheckHeapPointersInterior(x, interior, size, dataSize uintptr, typ *_type, header **_type, span *mspan) {
mbitmap.go#L914: func doubleCheckTypePointersOfType(s *mspan, typ *_type, addr, size uintptr) {
mbitmap.go#L1372: func typeBitsBulkBarrier(typ *_type, dst, src, size uintptr) {
mbitmap.go#L1730: var et *_type
mfinal.go#L59: fint *_type // type of first argument of fn
mfinal.go#L97: func queuefinalizer(p unsafe.Pointer, fn *funcval, nret uintptr, fint *_type, ot *ptrtype) {
mfinal.go#L147: func iterate_finq(callback func(*funcval, unsafe.Pointer, uintptr, *_type, *ptrtype)) {
mheap.go#L495: largeType *_type // malloc header for large objects.
mheap.go#L1973: fint *_type // May be a heap pointer, but always live.
mheap.go#L1978: func addfinalizer(p unsafe.Pointer, f *funcval, nret uintptr, fint *_type, ot *ptrtype) bool {
netpoll.go#L728: pdType *_type = efaceOf(&pdEface)._type
plugin.go#L85: t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
race0.go#L19: func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") }
race0.go#L20: func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") }
runtime1.go#L677: return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
runtime1.go#L692: return toRType((*_type)(rtype)).textOff(textOff(off))
runtime1.go#L706: return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
runtime2.go#L185: _type *_type
slice.go#L38: func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
slice.go#L101: func makeslice(et *_type, len, cap int) unsafe.Pointer {
slice.go#L119: func makeslice64(et *_type, len64, cap64 int64) unsafe.Pointer {
slice.go#L177: func growslice(oldPtr unsafe.Pointer, newLen, oldCap, num int, et *_type) slice {
slice.go#L332: func reflect_growslice(et *_type, old slice, num int) slice {
stubs.go#L264: func reflectcall(stackArgsType *_type, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
symtab.go#L439: typemap map[typeOff]*_type // offset to *_rtype in previous module
symtab.go#L469: var pinnedTypemaps []map[typeOff]*_type
type.go#L21: type _type = abi.Type
type.go#L83: func getGCMask(t *_type) *byte {
type.go#L98: func getGCMaskOnDemand(t *_type) *byte {
type.go#L194: func buildGCMask(t *_type, dst bitCursor) {
type.go#L324: func resolveTypeOff(ptrInModule unsafe.Pointer, off typeOff) *_type {
type.go#L349: return (*_type)(res)
type.go#L359: return (*_type)(unsafe.Pointer(res))
type.go#L362: func (t rtype) typeOff(off typeOff) *_type {
type.go#L437: typehash := make(map[uint32][]*_type, len(firstmoduledata.typelinks))
type.go#L445: var t *_type
type.go#L447: t = (*_type)(unsafe.Pointer(prev.types + uintptr(tl)))
type.go#L465: tm := make(map[typeOff]*_type, len(md.typelinks))
type.go#L469: t := (*_type)(unsafe.Pointer(md.types + uintptr(tl)))
type.go#L486: t1 *_type
type.go#L487: t2 *_type
type.go#L506: func typesEqual(t, v *_type, seen map[_typePair]struct{}) bool {
typekind.go#L10: func isDirectIface(t *_type) bool {
unsafe.go#L54: func unsafeslice(et *_type, ptr unsafe.Pointer, len int) {
unsafe.go#L75: func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
unsafe.go#L83: func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
unsafe.go#L118: func reflect_unsafeslice(et *_type, ptr unsafe.Pointer, len int) {